import Layout from '@/layout'

const router = {
    path: '/xmkgh',
    component: Layout,
    redirect: '/xmkgh/xmprezz/list',
    name: '项目可研规划阶段',
    alwaysShow: true,
    meta: { title: '项目可研规划阶段', icon: 'list', roles: ["项目可研规划阶段"] },
    children: [{
            path: 'xmprezz',
            component: () =>
                import ('@/views/project/xmkgh/xmprezz/index'),
            redirect: '/xmkgh/xmprezz/list',
            name: '项目预组装',
            meta: { title: '项目预组装', roles: ["项目预组装"] },
            children: [{
                    path: 'list',
                    component: () =>
                        import ('@/views/project/xmkgh/xmprezz/list/index'),
                    name: '项目预组装主页',
                    meta: { title: '项目预组装', noCache: true, activeMenu: '/xmkgh/xmprezz', breadcrumb: false, roles: ["项目预组装主页"] },
                    hidden: true
                },
                {
                    path: 'edit',
                    component: () =>
                        import ('@/views/project/xmkgh/xmprezz/edit/index'),
                    name: '项目预组装编辑',
                    meta: { title: "修改", noCache: true, activeMenu: '/xmkgh/xmprezz', roles: ["项目预组装编辑"] },
                    hidden: true
                },
                {
                    path: 'add',
                    component: () =>
                        import ('@/views/project/xmkgh/xmprezz/add/index'),
                    name: '项目预组装添加',
                    meta: { title: "添加", noCache: true, activeMenu: '/xmkgh/xmprezz', roles: ["项目预组装添加"] },
                    hidden: true
                },
                {
                    path: 'detail',
                    component: () =>
                        import ('@/views/project/xmkgh/xmprezz/detail/index'),
                    name: '项目预组装详情',
                    meta: { title: "查看", noCache: true, activeMenu: '/xmkgh/xmprezz', roles: ["项目预组装详情"] },
                    hidden: true
                }
            ]
        },
        {
            path: 'ywdeal',
            name: '前期业务办理',
            component: () =>
                import ('@/views/project/xmkgh/ywdeal/index'),
            meta: { title: '业务办理', roles: ["项目可研规划阶段业务办理"] }
        },
        {
            path: 'xmspread',
            name: '项目铺排',
            component: () =>
                import ('@/views/project/xmkgh/xmspread/index'),
            meta: { title: '项目铺排', roles: ["项目铺排"] }
        },
        {
            path: 'buntchCheckCityCenter',
            name: '批量审签（入库备案市中心）',
            component: () =>
                import ('@/views/project/xmkgh/buntchCheckCityCenter/index'),
            meta: { title: '批量审签', roles: ["批量审签（入库备案市中心）"] }
        },
        {
            path: 'buntchCheckGbcAndCity',
            name: '批量审签（入库备案耕保处、市局）',
            component: () =>
                import ('@/views/project/xmkgh/buntchCheckGbcAndCity/index'),
            meta: { title: '批量审签', roles: ["批量审签（入库备案耕保处、市局）"] }
        },
        // {
        //     path: 'buntchCheckSzxCsMan',
        //     name: '批量审签（市中心处室负责人）',
        //     component: () =>
        //         import ('@/views/project/xmkgh/buntchCheckSzxCsMan/index'),
        //     meta: { title: '批量审签（市中心处室负责人）' }
        // }
    ]
}
export default router